﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace OAS.Core
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Sys_Auth")]
    public partial class Auth
    {
           public Auth(){

            this.Auth_Id =Guid.NewGuid();

           }
           /// <summary>
           /// Desc:
           /// Default:newid()
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public Guid Auth_Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? Department_Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? Role_Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? Menu_Id {get;set;}

    }
}
